<div class="list">
    <label class="item item-input">
        <span class="input-label">密 码<span style="color: red;">*</span>：</span>
        <input type="password" name="password1" ng-model="password.password1" ng-minlength="6"
               ng-maxlength="20"
               required
               ng-model-options="{ updateOn: 'default blur', debounce: { default: 500, blur: 0 } }">
    </label>
    <!-- Error Container for Password -->
    <div class="validation-error" ng-class="{'is-dirty':form.password.$dirty}"
         ng-messages="form.password1.$error" role="alert">
        <div ng-messages-include="templates/system-templates/detail-confirm-pass.html"></div>
    </div>
    <label class="item item-input">
        <span class="input-label">确认密码<span style="color: red;">*</span>：</span>
        <input type="password" name="password2" ng-model="password.password2" ng-minlength="6"
               ng-maxlength="20"
               required
               ng-model-options="{ updateOn: 'default blur', debounce: { default: 500, blur: 0 } }"
               confirm-pwd="password.password1">
    </label>
    <!-- Error Container for Password -->
    <div class="validation-error" ng-class="{'is-dirty':form.password.$dirty}"
         ng-messages="form.password2.$error" role="alert">
        <div ng-messages-include="templates/system-templates/detail-confirm-pass.html"></div>
        <!--与第一次输入的新密码不匹配-->
    </div>
</div>